<?php

require("_config-rating.php");

$gameName="Rastgele Oyunlar";

if($_GET["c"]!=null){
	$c=$_GET["c"];
}


if (!$con)
{
	die('Could not connect: ' . mysql_error());
}

mysql_query("SET NAMES 'utf8'");
$start_from = ($page-1) * $pageInclude ; 

if($c!=null)
	$sql = "SELECT * FROM gamecategories g where g.categoryId=$c"; 

$rs_result = mysql_query ($sql,$con); 
if($rs_result ){
	if ($row = mysql_fetch_array($rs_result)) { 
		$gameName = $row["categoryName"];
	}
}

?>
    
    <div id="mySideBar" style="float:left;width:100%;position:relative;">
    <h3 style="margin-top: 1px;font-weight:bold" class="H3"><?php echo $gameName ?> 
                        	<div style="float: right; font-size: 10px;">
                            	<!--<a style="text-decoration: none;font-weight:bold" href="details.php?category=latest&amp;page=1">Daha Fazla</a>-->
                            </div>
                        </h3>
	<?php include"getLatestGames.php";?>
    </div>
